<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Articles extends CI_Controller
{
    /**
    * Constructor
    *
    * Requires needed models and helpers.
    *
    * @access	public
    */
    function __construct() {
        parent::__construct();
        $this->load->model('init_model');
        $this->load->helper('cookie');
        $this->load->library('auth');
        $this->auth->restrict();
    }
   
    /**
     * Index Controller
     *
     * Redirects to this->grid
     *
     * @access	public
     */
    function index()
    {
        $data['nav'] = 'article';
        $this->init_model->display_template('articles/grid', $data, 'backend');
    }
    
}

/* End of file articles.php */
/* Location: ./application/controllers/backend/articles.php */ 
